Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move node configs to config/node #3600

Merged
merged 6 commits into from
Dec 27, 2024

Conversation

darioush
Copy link
Contributor

@darioush darioush commented Dec 16, 2024

Why this should be merged

This PR moves the structs in node/config.go and node/process_context.go to a new package (avalanchego/config/node), and updates import paths accordingly.

This allows github.com/ava-labs/avalanchego/config to be imported (eg, from e2e tests) without importing github.com/ava-labs/avalanchego/node (which imports coreth/plugin/evm)

Additionally, ProcessContext is used (parsed) in e2e tests, so it should also be moved out of node.

How this works

Moves structs to new package

How this was tested

CI

Need to be documented in RELEASES.md?

maybe?

@darioush darioush changed the title move node configs to config/node refactor: move node configs to config/node Dec 16, 2024
@darioush darioush marked this pull request as ready for review December 16, 2024 22:39
@StephenButtolph StephenButtolph added this pull request to the merge queue Dec 27, 2024
@StephenButtolph StephenButtolph added this to the v1.12.1 milestone Dec 27, 2024
Merged via the queue into master with commit b97bbbd Dec 27, 2024
23 checks passed
@StephenButtolph StephenButtolph deleted the refactor-node-config branch December 27, 2024 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants